package com.itheima.thread.synchronizedsafety;

public class AccountTest {
    public static void main(String[] args){
        Account account = new Account("13245",10000);
        AccountThread t1 = new AccountThread(account);
        AccountThread t2 = new AccountThread(account);

        Thread thread1 = new Thread(t1);
        Thread thread2 = new Thread(t2);

        thread1.start();
        thread2.start();


    }
}
